package agent;

import java.awt.Color;
import java.awt.Graphics2D;

import Vue.CAImageBuffer;
import reseau.Coordonnees2D;

public class Aboiement 
{
	private Coordonnees2D position;

	public Aboiement(Coordonnees2D position) 
	{ this.position = position;	}

	public Coordonnees2D getPosition() 
	{ return position; }
	
	public void display(CAImageBuffer image)
	{
		Graphics2D g;
		g=image.createGraphics();
		g.setColor(Color.RED);
		g.drawString("WAF", (int)this.position.getX(), (int)this.position.getY());
	}
}
